If this script is launched prior to launching mame, with the appropriate options, Mame will pause and J5 will pop-up when you press the "p" key.



Setup:
=======

Download AutoHotkey from:  http://www.autohotkey.com/ and install.

Right click on the script and select "edit".  Somewhere in the script you'll see a path.  Replace that path with the path to your J5 install.

Drop this script and bat somewhere (doesn't really matter) and devise some way to call it.  Many front-ends support J5 and the script.  
If they don't, point them to this package and urge them to add support.  They don't need my blessing, I made j5 for everyone to use.
I'll even help them if they need it.



Useage:
=======

The best way to launch the script is via the included bat.  Run it with the following syntax:


j5.bat romname [parentromname] [driver] [emulator]


The variables in brackets are optional and all, but the emulator j5 can determine itself (it just takes longer).  

If an emulator is not specified, J5 will assume it is mame.



Troubleshooting:
=================

If the pausing of mame gets out of sync, try increasing the delays on "SetKeyDelay".


If you are running windows 98, this script might not work.. period.

